package com.example.printscreen.printscreen.bean;

/**
 * author: xiaoluo
 * date: 2017/6/13 14:09
 */
public class MediaItem {
    private int id;
    private String pathname;
    private String ext;
    private String mime_type;
    private float image_ratio = 1.0f;
    private int height;
    private int width;

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public float getImage_ratio() {
        return (float) width / (float) height;
    }

    public void setImage_ratio(float image_ratio) {
        this.image_ratio = image_ratio;
    }

    public long getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPathname() {
        return pathname;
    }

    public void setPathname(String pathname) {
        this.pathname = pathname;
    }

    public String getExt() {
        return ext;
    }

    public void setExt(String ext) {
        this.ext = ext;
    }

    public String getMime_type() {
        return mime_type;
    }

    public void setMime_type(String mime_type) {
        this.mime_type = mime_type;
    }
}
